package com.example.wechat.test;

class StudyTest {
    public static void main(String[] args) {

        Student s = new Student("12");
        s.setName("xc");
        System.out.println(s.toString());

        Student x = new Student("12");
        Student xc = x;
        System.out.println(s.equals(x));
        System.out.println(s.hashCode());
        System.out.println(x.hashCode());
        System.out.println(xc.hashCode());
    }
}
